package it.polimi.loganalyzer.loader;

import it.polimi.loganalyzer.model.State;

import java.util.HashMap;

public class UserTracker {

	private HashMap<String, State> notifications;

	public UserTracker() {
		this.notifications = new HashMap<String, State>();
	}

	public State getCurrentState(String user) {
		return notifications.get(user);
	}
	
	public void updateCurrentState(String user, State state){
		this.notifications.put(user, state);
	}
}
